#ifndef IMGACQUISITIONTAB_H
#define IMGACQUISITIONTAB_H

#include <QWidget>
#include <QMessageBox>
#include "imageloader.h"

namespace Ui {
    class ImgAcquisitionTab;
}

class ImgAcquisitionTab : public QWidget
{
    Q_OBJECT

public:
    explicit ImgAcquisitionTab(QWidget *parent = 0);
    ~ImgAcquisitionTab();

    void addLoader(ImageLoader *imgL);
    void showContent();

private slots:
    void scan();
    void liveview();
private:

    void display(const Mat &img);

    Ui::ImgAcquisitionTab *ui;
    QPointer<ImageLoader> imgL;
};

#endif // IMGACQUISITIONTAB_H
